package CommandMod;

import CommandMod.code.Host;

// 客户端
public class Client {

    public static void main(String[] args) {
        code code = new code();
        Host host = code.new Host();

        // 添加设置
        host.addSetting(1, 101); // Button 1 controls Room 101
        host.addSetting(2, 102); // Button 2 controls Room 102
        host.addSetting(3, 103); // Button 3 controls Room 103
        host.addSetting(4, 104); // Button 4 controls Room 104
        host.addSetting(5, 105); // Button 5 controls Room 105

        // 模拟遥控操作
        host.remoteLight(3); // Button 3 should control Room 103
    }
}
